package exampcom.qw.permissiontools.permission.request;

import android.annotation.TargetApi;
import android.support.annotation.NonNull;

import exampcom.qw.permissiontools.permission.callbcak.RequestPermissionListener;

import static android.os.Build.VERSION_CODES.M;

/**
 * @author cd5160866
 * @date 2019/3/25
 */
public interface IPermissionActions {

    /**
     * 请求权限
     *
     * @param permissions 权限
     * @param listener    回调
     */
    @TargetApi(M)
    void requestPermissions(@NonNull String[] permissions, RequestPermissionListener listener);

}
